<?php
if (!defined('CMS_SYSTEM')) exit;

global $Default_Temp;

$content = '';
$bl_arr = array();
$bl_arr[] = $bl_l;
$bl_arr[] = $bl_r;
$basename = pathinfo(__FILE__, PATHINFO_BASENAME);
$correctArr = array();
for ($i = 0; $i < count($bl_arr); $i++) {
	for ($h = 0; $h < count($bl_arr[$i]); $h++) {
		$temp = explode("@", $bl_arr[$i][$h]);
		if (($temp[5] == $currentlang) && ($temp[6] == $basename)) {
			$correctArr = $temp;
			break;
		}
	}
}

$content .= "<div class=\"div-block\">";
$content .= "<div class=\"div-tblock\">{$correctArr[1]}</div>";
$content .= "<div class=\"div-cblock\" style=\"text-align:center; padding:5px 0; border:1px solid #3477bf\">";
$content .= "<script type=\"text/javascript\" src=\"js/mediaplayer/swfobject.js\"></script>";
$content .= "	<script type=\"text/javascript\">";
$content .= "		swfobject.registerObject(\"player\",\"9.0.98\",\"js/mediaplayer/expressInstall.swf\");";
$content .= "	</script>";
$content .= "	<object id=\"player\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" name=\"player\" width=\"170\" height=\"150\">";
$content .= "		<param name=\"movie\" value=\"js/mediaplayer/mediaplayer.swf\" />";
$content .= "		<param name=\"allowfullscreen\" value=\"true\" />";
$content .= "		<param name=\"allowscriptaccess\" value=\"always\" />";
$content .= "		<param name=\"flashvars\" value=\"file=video.flv&image=js/mediaplayer/preview.jpg\" />";
$content .= "		<object type=\"application/x-shockwave-flash\" data=\"js/mediaplayer/mediaplayer.swf\" width=\"170\" height=\"150\">";
$content .= "			<param name=\"movie\" value=\"js/mediaplayer/mediaplayer.swf\" />";
$content .= "			<param name=\"allowfullscreen\" value=\"true\" />";
$content .= "			<param name=\"allowscriptaccess\" value=\"always\" />";
$content .= "			<param name=\"flashvars\" value=\"file=video.flv&image=js/mediaplayer/preview.jpg\" />";
$content .= "			<p><a href=\"http://get.adobe.com/flashplayer\">Get Flash</a> to see this player.</p>";
$content .= "		</object>";
$content .= "	</object>";
$content .= "</div></div>";
?>